package com.study.enumeration;

public enum DeletedEnum {
	/**
	 * 否
	 */
	否("0", "否"),
	/**
	 * 是
	 */
	是("1", "是");

	/**
	 * 成员变量
	 */
	private String code;
	private String name;

	/**
	 * @param code
	 * @param name
	 */
	private DeletedEnum(String code, String name) {
		this.code = code;
		this.name = name;
	}

	/**
	 * @return Returns the code.
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code The code to set.
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return Returns the name.
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name The name to set.
	 */
	public void setName(String name) {
		this.name = name;
	}
}
